package shj.blackberry.i.util;

/**
 * 用到的常量们
 * @author shan.hongjie
 *
 */
public class Constants {
	/**
	 * 换行
	 */
	public static String LINE_SEPARATOR = "\r\n";
	/**
	 * 数据目录，用于类加载器寻找文件时做路径拼接
	 */
	public static String DATA_DIR = "/data/";
	
	/**
	 * 8*8 64卦
	 * 8宫
	 * 渐爻变
	 */
	public static String[][] AllGuasCode =
	{
		{"111111","011111","001111","000111","000011","000001","000101","111101"},//乾宫
		{"110110","010110","000110","001110","001010","001000","001100","110100"},//兑宫
		{"101101","001101","011101","010101","010001","010011","010111","101111"},//离宫
		{"100100","000100","010100","011100","011000","011010","011110","100110"},//震宫
		{"011011","111011","101011","100011","100111","100101","100001","011001"},//巽宫
		{"010010","110010","100010","101010","101110","101100","101000","010000"},//坎宫
		{"001001","101001","111001","110001","110101","110111","110011","001011"},//艮宫
		{"000000","100000","110000","111000","111100","111110","111010","000010"} //坤宫
	};
	
	/**
	 * 64卦名，坐标与AllGuasCode严格对应
	 */
	public static String[][] AllGuasName =
	{
		{"乾","姤","遁","否","观","剥","晋","大有"},//乾宫
		{"兑","困","萃","咸","蹇","谦","小过","归妹"},//兑宫
		{"离","旅","鼎","未济","蒙","涣","讼","同人"},//离宫
		{"震","豫","解","恒","升","井","大过","随"},//震宫
		{"巽","小畜","家人","益","无妄","噬嗑","颐","蛊"},//巽宫
		{"坎","节","屯","既济","革","丰","明夷","师"},//坎宫
		{"艮","贲","大畜","损","睽","履","中孚","渐"},//艮宫
		{"坤","复","临","泰","大壮","夬","需","比"} //坤宫
	};
}
